<template>
  <div class="main-cart">
    <div class="cart">
      <div class="wrapper">
        <!--      <el-badge :value="200" :max="99" class="item">-->
        <!--        <el-button size="small">评论</el-button>-->
        <!--      </el-badge>-->
        <i class="el-icon-shopping-cart-2"/>&nbsp;购物车&nbsp;
        <span
          style="border-radius: 50%;display: inline-block;height: 20px;    width: 20px;background: #31bbAC;vertical-align: top;">
      <span
        style="display: block; color: #FFFFFF;height: 20px;line-height: 20px;    text-align: center"> 5</span>
 </span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "cart"
}
</script>

<style lang="scss" scoped>
.main-cart {
  width: 350px;

  .cart {
    width: 130px;
    height: 39px;
    border: 2px solid #31bbAC;
    font-size: 16px;
    line-height: 40px;
    border-radius: 5%;
    text-align: center;
    //margin-right: 100px;
    .wrapper {
      display: flex;
      justify-content: center;
      align-items: center;

      i {
        font-weight: bold;
      }

      &:hover {
        i {
          font-weight: bold;
          color: #31bbAC;

        }

        color: #31bbAC;
      }
    }
  }
}
</style>
